package com.recommend.persistence;

import java.util.List;

import com.recommend.domain.MovieDomain;

public interface MovieDomainMapper {
    int deleteByPrimaryKey(Integer movieId);

    int insert(MovieDomain record);

    int insertSelective(MovieDomain record);

    MovieDomain selectByPrimaryKey(Integer movieId);

    List<MovieDomain> selectSelective(MovieDomain record);

    List<MovieDomain> selectListSelective(MovieDomain record);
    
    List<MovieDomain> selectAll();

    List<MovieDomain> selectRecommendMovieByCustomerId(Integer customerId);

    List<Integer> selectRecommendMovieByMovieId(MovieDomain record);

    int updateByPrimaryKeySelective(MovieDomain record);

    int updateByPrimaryKey(MovieDomain record);
}